﻿<vw:MainWindowView x:Class="Dhgms.Whipstaff.ShowCase.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                   xmlns:vw="clr-namespace:Dhgms.Whipstaff.ShowCase.View.Generic"
                   xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                   xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
                   Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <ItemsControl ItemsSource="{Binding ShowCases}">
            <ItemsControl.ItemTemplate>
                <DataTemplate>
                    <Button Grid.Column="0" Content="{Binding Name}" Height="32" Command="{Binding Command}" />
                    <!--<Label Grid.Column="1" Content="{Binding Description}" />-->
                </DataTemplate>
            </ItemsControl.ItemTemplate>
        </ItemsControl>

    </Grid>
</vw:MainWindowView>
